/**
 * 
 */
package com.zhiteng.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.zhiteng.entity.Teacher;

import tk.mybatis.mapper.common.Mapper;

/**  
* <p>Title: TeacherMapper.java</p>  
* <p>Description: </p>  
* @author dragon  
* @date 2018年11月7日  
* @version 1.0  
*/
public interface TeacherMapper extends Mapper<Teacher>{
	@Select("select cellphone,userid,name from tb_teacher where name=#{name}")
	List<Teacher> queryTeacherByName(@Param("name")String name);
}
